package com.gamex.findit.model;

import java.io.Serializable;
import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;

import org.apache.ibatis.type.Alias;

@Alias("character")
@XmlRootElement
public class Character extends BaseModel implements Serializable{
	private static final long serialVersionUID = -2192073288063908729L;
	
	private int charId;
	private String charName;
	private String img;
	private String remark;
	private Date regDate;
	private Date modDate;
	private String state;
	
	public int getCharId() {
		return charId;
	}
	public void setCharId(int charId) {
		this.charId = charId;
	}
	public String getCharName() {
		return charName;
	}
	public void setCharName(String charName) {
		this.charName = charName;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Date getRegDate() {
		return regDate;
	}
	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}
	public Date getModDate() {
		return modDate;
	}
	public void setModDate(Date modDate) {
		this.modDate = modDate;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	
	@Override
	public String toString() {
		return "Character [charId=" + charId + ", charName=" + charName
				+ ", charImg=" + img + ", remark=" + remark + ", regDate="
				+ regDate + ", modDate=" + modDate + ", state=" + state + "]";
	}
	
	
	
}
